﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class MyForm: Form
    {
        public MyForm()
        {
            InitializeComponent();
            this.btnText.Click += BtnText_Click;
        }

        private void BtnText_Click(object sender, EventArgs e)
        {
            this.textBox.Text = "Hello World!";
        }
    }
}
